package whu.o2o.vo;

import java.util.ArrayList;



import android.os.Handler;

public class CommentVO extends BaseVO {
	private static final long serialVersionUID = 1L;

	/** 评论类型：0 赞 1评论 */
	private int type;

	/** 评论所属的日记索引 */
	private int index;

	/** 评论所属的日记id */
	private int diaryId;
	
	private String content;
	private String time;
	private ArrayList<PersonVO> goodList;
	private PersonVO user;

	/** 评论操作执行完毕后更新评论列表 */
	private Handler handler;

	public Handler getHandler() {
		return handler;
	}

	public void setHandler(Handler handler) {
		this.handler = handler;
	}

	public int getDiaryId() {
		return diaryId;
	}

	public void setDiaryId(int diaryId) {
		this.diaryId = diaryId;
	}

	public PersonVO getUser() {
		return user;
	}

	public void setUser(PersonVO user) {
		this.user = user;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public ArrayList<PersonVO> getGoodList() {
		return goodList;
	}

	public void setGoodList(ArrayList<PersonVO> goodList) {
		this.goodList = goodList;
	}

}
